import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class DashboardContactEntity with JsonConvert<DashboardContactEntity> {
  @JSONField(name: "data_type")
  String dataType;
  int id;
  @JSONField(name: "company_id")
  int companyId;
  @JSONField(name: "primary_contact_id")
  dynamic primaryContactId;
  String name;
  @JSONField(name: "country_code")
  String countryCode;
  @JSONField(name: "phone_number")
  String phoneNumber;
  String email;
  String website;
  @JSONField(name: "is_taxable")
  int isTaxable;
  @JSONField(name: "address_country")
  String addressCountry;
  @JSONField(name: "address_city")
  String addressCity;
  @JSONField(name: "address_postal_code")
  String addressPostalCode;
  @JSONField(name: "address_line_1")
  String addressLine1;
  @JSONField(name: "address_line_2")
  String addressLine2;
  @JSONField(name: "is_favorite")
  int isFavorite;
  @JSONField(name: "is_client")
  int isClient;
  @JSONField(name: "is_supplier")
  int isSupplier;
  int enabled;
  @JSONField(name: "created_by")
  dynamic createdBy;
  @JSONField(name: "created_at")
  String createdAt;
  @JSONField(name: "updated_at")
  String updatedAt;
}
